From 6b7eda750275445f0f6112363a87792fd5584da7 Mon Sep 17 00:00:00 2001
From: mat <github@matdoes.dev>
Date: Fri, 1 Jul 2022 16:23:13 -0500
Subject: Show player's sold auctions

---
 src/routes/player/[player]/[profile].svelte | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

(limited to 'src/routes/player/[player]/[profile].svelte')

diff --git a/src/routes/player/[player]/[profile].svelte b/src/routes/player/[player]/[profile].svelte
index 82d5471..27e61de 100644
--- a/src/routes/player/[player]/[profile].svelte
+++ b/src/routes/player/[player]/[profile].svelte
@@ -83,6 +83,7 @@
 	import Toc from '$lib/Toc.svelte'
 	import Achievements from '$lib/sections/Achievements.svelte'
 	import Essence from '$lib/sections/Essence.svelte'
+	import Auctions from '$lib/sections/Auctions.svelte'
 
 	export let data: CleanMemberProfile
 	export let pack: MatcherFile
@@ -203,7 +204,15 @@
 						<section>
 							<Collapsible id={category}>
 								<h2 slot="title">{cleanId(category)}</h2>
-								<StatList stats={data.member.stats.filter(s => s.category === category)} />
+								{#if category == 'auctions'}
+									<Auctions
+										stats={data.member.stats.filter(s => s.category === category)}
+										{data}
+										{pack}
+									/>
+								{:else}
+									<StatList stats={data.member.stats.filter(s => s.category === category)} />
+								{/if}
 							</Collapsible>
 						</section>
 					{/if}
-- 
cgit 


From 65a06e7c67292eaa18cb6c28956fa8744ef932e6 Mon Sep 17 00:00:00 2001
From: mat <github@matdoes.dev>
Date: Fri, 1 Jul 2022 19:13:18 -0500
Subject: don't overflow for blurred background

---
 src/routes/player/[player]/[profile].svelte | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'src/routes/player/[player]/[profile].svelte')

diff --git a/src/routes/player/[player]/[profile].svelte b/src/routes/player/[player]/[profile].svelte
index 27e61de..de30c21 100644
--- a/src/routes/player/[player]/[profile].svelte
+++ b/src/routes/player/[player]/[profile].svelte
@@ -136,7 +136,7 @@
 	blurred={data.customization?.blurBackground ?? false}
 />
 
-<main>
+<main class:has-blurred-background={data.customization?.blurBackground && backgroundUrl}>
 	{#if data.customization?.blurBackground && backgroundUrl}
 		<div class="blurred-background-container-container">
 			<div class="blurred-background-container">
@@ -409,4 +409,8 @@
 		color: var(--theme-darker-text);
 		font-size: 0.9rem;
 	}
+
+	.has-blurred-background #categories {
+		width: 47rem;
+	}
 </style>
-- 
cgit 

